home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2002 #4 / K-CD-4-2002.ISO / Empire Earth / EEDemo.exe / Disk1 / Random Map Scripts / Small Islands.rmv < prev    next >
Encoding:
Text File  |  2001-09-27  |  6.8 KB  |  200 lines

  1. ////////////////////////////////////////////////////////////////////
  2. //
  3. // Small Islands.rmv
  4. //
  5. // Input file for the small islands map type.
  6. //
  7. // Copyright (c) 1998, Stainless Steel Studios, Inc. All rights reserved.
  8. // PROPRIETARY and CONFIDENTIAL.
  9. //
  10. // $Author: Scott Marison $
  11. // $Date: 7/24/01 3:29p $
  12. // $Revision: 35 $
  13. //  Revision: 25 Changed Initial step from 64 to 32 in order to get more cliffs.
  14. //
  15. ////////////////////////////////////////////////////////////////////
  16.  
  17.  
  18. //////////////////////////////////////////////////////////////////////
  19. // Define the map generator we will use
  20. //////////////////////////////////////////////////////////////////////
  21.  
  22. UseMapGenerator        "Default"
  23. StringTableID        27004
  24.  
  25.  
  26. //////////////////////////////////////////////////////////////////////
  27. // Files we always include
  28. //////////////////////////////////////////////////////////////////////
  29.  
  30. #include "Common\Map Climate"
  31. #include "Common\Common Conditions"
  32. #include "Common\Common Terrain Painting"
  33. #include "Common\Common Initial Units"
  34. #include "Common\Common Forests"
  35.  
  36.  
  37. //////////////////////////////////////////////////////////////////////
  38. // initialize some defintions. it is possible that an included file 
  39. // might redefine these.
  40. //////////////////////////////////////////////////////////////////////
  41. #define        (kShallowsElevation, -1)
  42. #define        (kShallowsWidth, 4)
  43. #define        (kMaxShallowConnectionsPerPlayer, 1)
  44. #define        (kGenerateShallows, false)
  45.  
  46.  
  47. //////////////////////////////////////////////////////////////////////
  48. // Files we include based upon map size - these files will define
  49. // everything we need to set the random map attributes for small island 
  50. // random maps.
  51. //////////////////////////////////////////////////////////////////////
  52. #if        IsTinyMap
  53. #include "Small Islands\Small Islands Tiny"
  54. #elif    IsSmallMap
  55. #include "Small Islands\Small Islands Small"
  56. #elif    IsMediumMap
  57. #include "Small Islands\Small Islands Medium"
  58. #elif    IsLargeMap
  59. #include "Small Islands\Small Islands Large"
  60. #elif    IsHugeMap
  61. #include "Small Islands\Small Islands Huge"
  62. #elif    IsGiganticMap
  63. #include "Small Islands\Small Islands Gigantic"
  64. #endif
  65.  
  66.  
  67. //////////////////////////////////////////////////////////////////////
  68. // Attributes we set
  69. //////////////////////////////////////////////////////////////////////
  70.  
  71. //////////////////////////////////////////////////////////////////////
  72. // map elevation attributes
  73. MinIntElevation                    kMinIntElevation
  74. MaxIntElevation                    kMaxIntElevation
  75. InitialElevation                0
  76. FlatElevation                    0
  77. ElevationScale                    kElevationScale
  78. HeightMapChaos                    kHeightMapChaos
  79.  
  80.  
  81. //////////////////////////////////////////////////////////////////////
  82. // land/water attributes
  83. PercentLand                        kPercentLand
  84. LandElevationThreshold            0
  85. WaterBorder                        kWaterBorder
  86. RiverWidth                        kRiverWidth
  87. TeamGrowth                        false
  88.  
  89.  
  90. //////////////////////////////////////////////////////////////////////
  91. // shallows attributes
  92. CoastalToDeeperWaterPercentage    kCoastToDeepWaterPercentage
  93. ShallowsElevation                kShallowsElevation
  94. ShallowsWidth                    kShallowsWidth
  95. MaxShallowConnectionsPerPlayer    kMaxShallowConnectionsPerPlayer
  96. GenerateShallows                kGenerateShallows
  97.  
  98.  
  99. //////////////////////////////////////////////////////////////////////
  100. // player attributes
  101. PlayerInnerRadius                kPlayerInnerRadius
  102. PlayerOuterRadius                kPlayerOuterRadius
  103. PlayerPercentFlat                kPlayerPercentFlat
  104. PlayerTreePercentage            kPlayerTreePercentage
  105. PlayerLandChaos                    kPlayerLandChaos
  106. PlayerLandClumps                kPlayerLandClumps
  107. PlayerFlatChaos                    kPlayerFlatChaos
  108. PlayerFlatClumps                kPlayerFlatClumps
  109. MaxAngleBetweenTeamMembers        kMaxAngleBetweenTeamMembers
  110.  
  111.  
  112. //////////////////////////////////////////////////////////////////////
  113. // general pushing attributes
  114. MinimumStartPositionToMapEdge    kMinimumStartPositionToMapEdge
  115. OuterPushFromMapCenter            kOuterPushFromMapCenter
  116. InnerPushFromMapCenter            kInnerPushFromMapCenter
  117.  
  118.  
  119. //////////////////////////////////////////////////////////////////////
  120. // general neutral attributes
  121. NeutralInnerRadius                kNeutralInnerRadius
  122. NeutralOuterRadius                kNeutralOuterRadius
  123.  
  124.  
  125. //////////////////////////////////////////////////////////////////////
  126. // inner neutral attributes
  127. NumInnerNeutrals                kNumInnerNeutrals
  128. InnerNeutralPercentLand            kInnerNeutralPercentLand
  129. InnerNeutralPercentFlat            kInnerNeutralPercentFlat
  130. InnerNeutralTreePercentage        kInnerNeutralTreePercentage
  131. InnerNeutralLandChaos            kInnerNeutralLandChaos
  132. InnerNeutralLandClumps            kInnerNeutralLandClumps
  133. InnerNeutralFlatChaos            kInnerNeutralFlatChaos
  134. InnerNeutralFlatClumps            kInnerNeutralFlatClumps
  135.  
  136.  
  137. //////////////////////////////////////////////////////////////////////
  138. // outer neutral attributes
  139. NumOuterNeutrals                kNumOuterNeutrals
  140. OuterNeutralPercentLand            kOuterNeutralPercentLand
  141. OuterNeutralPercentFlat            kOuterNeutralPercentFlat
  142. OuterNeutralTreePercentage        kOuterNeutralTreePercentage
  143. OuterNeutralLandChaos            kOuterNeutralLandChaos
  144. OuterNeutralLandClumps            kOuterNeutralLandClumps
  145. OuterNeutralFlatChaos            kOuterNeutralFlatChaos
  146. OuterNeutralFlatClumps            kOuterNeutralFlatClumps
  147.  
  148.  
  149. //////////////////////////////////////////////////////////////////////
  150. // resource attributes
  151. MaxResourceElevation            kMaxResourceElevation
  152. ResourceToEdgeDistance            kResourceToEdgeDistance    
  153. ResourceToWaterDistance            kResourceToWaterDistance    
  154.  
  155. ResourcePerPlayer                (Animal,        kAnimalPerPlayer)
  156. ResourcePerNeutralLand            (Animal,        kAnimalPerNeutral)
  157.                                             
  158. ResourcePerPlayer                (Berry,            kBerryPerPlayer)
  159. ResourcePerNeutralLand            (Berry,            kBerryPerNeutral)
  160.                                             
  161. ResourcePerPlayer                (Fish,            kFishPerPlayer)
  162. ResourcePerNeutralLand            (Fish,            kFishPerNeutral)
  163.                                             
  164. ResourcePerPlayer                (Gold,            kGoldPerPlayer)
  165. ResourcePerNeutralLand            (Gold,            kGoldPerNeutral)
  166.                                             
  167. ResourcePerPlayer                (Steel,            kSteelPerPlayer)
  168. ResourcePerNeutralLand            (Steel,            kSteelPerNeutral)
  169.                                             
  170. ResourcePerPlayer                (Stone,            kStonePerPlayer)
  171. ResourcePerNeutralLand            (Stone,            kStonePerNeutral)
  172.                                             
  173. ResourcePerPlayer                (Tree,            kTreePerPlayer)
  174. ResourcePerNeutralLand            (Tree,            kTreePerNeutral)
  175.                                             
  176.  
  177. //////////////////////////////////////////////////////////////////////
  178. // forest attributes
  179. ForestFreeRadius                kForestFreeRadius
  180. ForestsPerPlayer                kForestsPerPlayer
  181. ForestChaosLevel                kForestChaosLevel    
  182. MaxClumpsPerForest                kMaxClumpsPerForest
  183. MaximumTreesPerClump            10000
  184. MaxTreeLoopCount                200
  185.  
  186.  
  187. //////////////////////////////////////////////////////////////////////
  188. // misc. attributes
  189. ConvergentSampleSize            32
  190. ConvergentThreshold                1.0
  191. MaxIterationsClumpGrowth        200                
  192. MaxLoopCount                    200
  193. MapCharacteristics                IslandMap
  194.  
  195.  
  196. //////////////////////////////////////////////////////////////////////
  197. // debug flags - for debugging use only
  198. FilterHeightMap                    false
  199. TestingLandDistribution            false
  200.